package com.totoro.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author TOTORO
 * @date 2021/7/26 14:10
 * 分页pojo
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Pagination {
    private int allPage;
    private int nowPage;
    private int pageSize;

    public int getAllPage() {
        return allPage;
    }

    public Pagination setAllPage(int allPage) {
        this.allPage = allPage;
        return this;
    }

    public int getNowPage() {
        return nowPage;
    }

    public Pagination setNowPage(int nowPage) {
        this.nowPage = nowPage;
        return this;
    }

    public int getPageSize() {
        return pageSize;
    }

    public Pagination setPageSize(int pageSize) {
        this.pageSize = pageSize;
        return this;
    }
}
